//: reusing/Orc.java
// The protected keyword.
package chapter7;
import static utility.Print.*;

import java.util.ArrayList;

import simple.*;

/**
 * Exercise 17: (1) Modify Exercise 16 so that Frog overrides the method
 * definitions from the base class (provides new definitions using the same
 * method signatures). Note what happens in main( ).
 * 
 * @author rDiaconescu
 * 
 */

public class Exercise17 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Ampfibian a;
		
		Frog f = new Frog();
		
		a = f;
	
		a.walk();
		a.swimm();
		
	}
}